Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.

Add instrumentation and expose measurement in prometheus format#210

Open
StevenYCChou wants to merge 36 commits intoStackdriver:masterfrom
StevenYCChou:ycchou-prometheus-integration-for-server
Open

Add instrumentation and expose measurement in prometheus format#210
StevenYCChou wants to merge 36 commits intoStackdriver:masterfrom
StevenYCChou:ycchou-prometheus-integration-for-server

Conversation

@StevenYCChou
Copy link
Copy Markdown

Add interface inside api_server, so we expose instrumentation metrics later on (currently working on it).

Some thoughts:

  1. I added a private function MetadataApiServer::SerializeMetricsToPrometheusTextFormat() so we can test the functionality without considering http_connection, which isn't tested in current test suites.
  2. I only built prometheus-cpp core library with gzip compression disabled for 2 reason: 1) gzip is not used in our http server, 2) gzip compression requires system library unless we statically compile and link with gzip library.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants